#!/usr/bin/env python

#一个袋子<F9><F9><F9><F9><F9>里有3个红球，3个绿球，6个黄球，一次从袋子里取出6个，列出所有可能组合
red=0
while red<=3:    
    green=0
    while green<=3:
        yellow=6-red-green
        print("红球"+str(red)+"个  绿球"+str(green)+"个  黄球"+str(yellow)+"个")
        green+=1
    red+=1
